package com.luban.springboot7.controler;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {
	
	private static final Logger logger = LoggerFactory.getLogger(UserController.class);
	
	@RequestMapping(value = "/info",produces="application/json;charset=utf-8")
	public String info() {
		logger.info("班友请求出战成功");
		return "班友请求出战获二营长同意，并拿出机关枪一把";
	}
}
